<?php
//dezend by http://www.yunlu99.com/ QQ:270656184
defined('BASEPATH') || exit('No direct script access allowed');

if (!function_exists('ajax_return')) {
	function ajax_return($error, $msg, $url = '')
	{
		$d['error'] = $error;
		$d['msg'] = $msg;
		$d['url'] = $url;
		echo json_encode($d);
		exit();
	}
}

?>
